package com.xtedu.examproject.controller;

import jakarta.servlet.ServletConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;

/*
 * Author: xzy
 * Date: 2025/10/14
 * Last Modified by: xzy
 * Last Modified date: 2025/10/14
 * Description: TODO - Add file description here
 */
@WebServlet("/exampapermanage/*")
public class ExamPaperServlet extends HttpServlet {
    @Override
    public void init() throws ServletException {
    }

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.getRequestDispatcher("/WEB-INF/views/paperManage.jsp").forward(req, resp);
    }

    @Override
    public void destroy() {
    }
}
